package com.dsj.gxrd.modules.activity.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dsj.gxrd.common.MyBaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author songpin566
 * @date 2023/10/16
 **/
@Data
@ApiModel("常委会人大概况")
@TableName("rd_overview")
public class RdOverview extends MyBaseEntity<String> {

    @ApiModelProperty("id")
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("职位")
    private String position;
    @ApiModelProperty("发布")
    private String isPublish;
    @ApiModelProperty("分类id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long rdBookCatId;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("删除标记")
    @TableLogic
    private Integer delFlag;

    private String headImgUrl;

}
